package com.kapo.egroup.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kapo.egroup.entity.base.project.Project;
import com.kapo.egroup.entity.base.project.UserApplyRecord;
import com.kapo.egroup.entity.base.project.UserInviteRecord;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Title InviteService
 * @Description TODO
 * @Author 86159
 * @Date 2023-03-31 23:58
 **/
public interface InviteService extends IService<UserInviteRecord> {
    void inviteProjectByUserId(Long projectId,Long receiverId, Long senderId,String description,String outline);
    void acceptInviteById(Long inviteRecordId);
    void rejectInviteById(Long inviteRecordId);
    List<UserInviteRecord> getInviteByUserId(Long userId);
}
